(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/iffparse.h>
LONG ReadChunkBytes()
SYNOPSIS
struct IFFHandle * iff
APTR buf
LONG numBytes
LOCATION
In IFFParseBase at offset 10
FUNCTION
Read a number of bytes from the current chunk into a buffer. Attempts to read past the end of the chunk will be truncated.
INPUTS
iff
pointer to IFFHandle struct.
buf
pointer to a buffer into which the data will be placed.
numBtes
number of bytes to read.
RESULT
actual - (positive) the actual number of bytes read. (negative) IFFERR_#? error code if not succesfull.
NOTES
EXAMPLE
BUGS
SEE ALSO
ReadChunkRecords()
,
ParseIFF()
,
WriteChunkBytes()
INTERNALS
HISTORY
13.02.1997 digulla
Bugfix. Loads IFF pictures now.
Added lots of debug output
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen